package java_test.polymorphism.abstract_test;

public class Test {
    public static void main(String[] args) {
        Employee m = new Manager("张三", true, 18);
        Employee a = new Accounting("李四", false, 20);
        m.whoami();
        m.getsalary();
        a.whoami();
        a.getsalary();

    }
}
